package com.zyf.hos.gw.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 系统用户
 */
@TableName("system_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SystemUser {
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    @TableField(value = "username")
    private String userName;
    @TableField(value = "password")
    private String passWord;
    @TableField(value = "telphone")
    private String telphone;
    @TableField(value = "email")
    private String email;
    @TableField(value = "rulename")
    private String ruleName;
    @TableField(value = "createtime")
    private Date createTime;
    @TableField(value = "updatetime")
    private Date updateTime;
    @TableField(value = "deletetime")
    private Date deleteTime;
    @TableField(value = "is_delete")
    private int isDelete;//值为0表示数据未删除，值为1表示数据已经删除
    @TableField(value = "state")
    private int state;
}
